﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BBPA.Admin.SYS.Draw
{
    public partial class Info : InfoPage
    {
        BLL.V_Draw bll = new BLL.V_Draw();
        protected Model.V_Draw model = new Model.V_Draw();
        protected void Page_Load(object sender, EventArgs e) { }
        /// <summary>
        /// 初始化本页Model
        /// </summary>
        public override void Page_Load_DefaultModel() {
            model = bll.GetModelList("id=" + Master.id)[0];
        }
        /// <summary>
        /// 初始化表单
        /// </summary>
        public override void Form_Default()
        {
            if (model.State == (int)EnumHelper.DrawState.Wait) tr_DateandtimeFinish.Visible = tr_Description.Visible = false;
        }
        /// <summary>
        /// 绑定表单数据【修改时用】
        /// </summary>
        public override void Form_Bind()
        {
           
        }

    }
}